package com.ithzl.capacity.service;

import com.ithzl.capacity.pojo.dto.ReviewPageDTO;
import com.ithzl.capacity.pojo.dto.WorksBriefDTO;
import jakarta.servlet.http.HttpSession;

import java.util.List;

public interface ReviewService {


    List<WorksBriefDTO> selectWorksBrief(ReviewPageDTO reviewPageDTO);

    /**
     * 对作品添加评语以及修改分数
     * @param entryFormId
     * @param opinion
     * @param score
     */
    void review(int entryFormId, String opinion, double score, HttpSession session);
}
